package com.wengzw.gateway.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wengzw.gateway.entity.AuthUserDetails;
import com.wengzw.gateway.mapper.UserMapper;
import org.springframework.stereotype.Service;


@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, AuthUserDetails> implements UserService{
    @Override
    public AuthUserDetails getUserByUser(String mobile) throws Exception {
        return baseMapper.getUserByUser(mobile);
    }
}
